package com.opencv.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @author huang_sen
 * @date 2021/3/26
 * @descripitions 医院信息表
 */
@ApiModel("医院信息表")
@TableName(value = "cgm_hospital", autoResultMap = true)
public class CgmHospitalEntity extends CgmBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 医院名称
     */
    @ApiModelProperty(value = "医院名称")
    private String name;

    /**
     * 国家
     */
    @ApiModelProperty(value = "国家")
    private Long country;

    /**
     * 省
     */
    @ApiModelProperty(value = "省")
    private Long province;

    /**
     * 市
     */
    @ApiModelProperty(value = "市")
    private Long city;

    /**
     * 区域
     */
    @ApiModelProperty(value = "区域")
    private Long district;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    private String address;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getCountry() {
        return country;
    }

    public void setCountry(Long country) {
        this.country = country;
    }

    public Long getProvince() {
        return province;
    }

    public void setProvince(Long province) {
        this.province = province;
    }

    public Long getCity() {
        return city;
    }

    public void setCity(Long city) {
        this.city = city;
    }

    public Long getDistrict() {
        return district;
    }

    public void setDistrict(Long district) {
        this.district = district;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

}
